<?php
namespace Common\Models;
use Common\BaseModel;
class ArticleFaquanCate extends BaseModel
{
    public $res;
    public $key;
    public function getSource()
    {
        return "f_article_faquancate";
    }

    public function initialize()
    {
        parent::initialize();
    }

    /**
     * 获取具体的内容
     * @param int $cid 栏目id
     * @param int $cateid 分类id
     * @param int $is_recommend 是否首页推荐
     * @return mixed
     */
    public function find_list(){
        $conditions='is_show=1';
        $order="sort ASC,id ASC";
        $user_list = $this::find(
            array(
                $conditions,
                "order" => $order,
                "columns"=>"id,name",
            )
        )->toarray();
        return $user_list;
    }





}
